home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / uucp / wcnews_1_0_30.lha / notebook / dirs.man < prev    next >
Text File  |  1994-01-04  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                       ›1mDirectory›22m ›1mLayout›22m ›1mand›22m ›1mPATH›22m ›1min›22m ›1mC›22m ›1mNews›22m
  11.  
  12.                                  ›4mHenry›24m ›4mSpencer›24m
  13.                                 Dept. of Zoology
  14.                              University of Toronto
  15.  
  16.  
  17.           ›1mIntro›22m
  18.           C  News  is  constrained  by historical compatibility with B
  19.           News, but we also want to provide more flexibility for local
  20.           news  administrators.   Accordingly, our directory organiza­
  21.           tion is a little different from that of  B  News.   We  also
  22.           make  a lot of use of subordinate programs rather than lump­
  23.           ing everything into a few giant lumps,  and  this  means  we
  24.           need a notion of search paths.
  25.           See also ``Configuration Mechanisms in C News'', which talks
  26.           about how to alter the defaults for these paths and such.
  27.  
  28.           ›1mDirectory›22m ›1morganization›22m
  29.           We retain  the  notion  that  a  single  directory  (usually
  30.           /usr/spool/news)  is  the  top of the news­article database.
  31.           We also use subdirectories of this  directory,  using  names
  32.           including  `.' to ensure that they cannot collide with news­
  33.           group names, to hold incoming  batches  and  outgoing  batch
  34.           control  files.   One  can  debate whether this is the right
  35.           place for these activities, but in practice  /usr/spool/news
  36.           tends  to  be where people want to put potentially­big traf­
  37.           fic­handling directories, and it's not worth  providing  for
  38.           separate variation of the location.
  39.           We  do split the former /usr/lib/news into two, however.  We
  40.           reserve /usr/lib/news itself for control files that are log­
  41.           ically  part  of  the database.  (It would make sense to put
  42.           those under some subdirectory of /usr/spool/news,  but  that
  43.           would break a lot of programs that think these files live in
  44.           /usr/lib/news.)  The programs­­those which don't need to  be
  45.           directly    executable    by    users   or   ›4muucp›24m­­live   in
  46.           /usr/lib/newsbin.  Actually, they usually live in  subdirec­
  47.           tories  thereof,  with each significant subsystem having its
  48.           own subdirectory to keep the individual directories  manage­
  49.           able  in  complexity.   There are occasional general­purpose
  50.           utilities at the top level; there aren't enough of  them  to
  51.           be worth a separate directory.
  52.  
  53.           ›1mPATH›22m
  54.           In  general,  things  are  organized  to  permit  sharing of
  55.           /usr/lib/newsbin among multiple databases.  It doesn't  make
  56.           sense  to  share  /usr/lib/news among multiple databases, as
  57.           much of the stuff that lives there is logically part of  the
  58.           database.
  59.           There is a possibility that an individual database will want
  60.           to override specific decisions made by  the  programs,  i.e.
  61.  
  62.  
  63.  
  64.                                    12 Dec 1988
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                        ­2­
  71.  
  72.  
  73.           will  want  its  own version of some programs.  Accordingly,
  74.           provision is made for a `bin' directory under /usr/lib/news.
  75.           News  software should set its PATH to something on the order
  76.           of
  77.                /usr/lib/news/bin:/usr/lib/newsbin/xxx:/usr/lib/newsbin:/bin:/usr/bin
  78.           (See the ``Configuration Mechanisms'' document for how  this
  79.           should  ›4mactually›24m  be  written,  to  facilitate configuration
  80.           changes and local customization.)  That is,  first  look  in
  81.           the  database's  bin  directory  for overrides, then in some
  82.           subdirectory of /usr/lib/newsbin for  the  subsystem's  pro­
  83.           grams,  then in newsbin itself for news­wide utilities, then
  84.           in the standard system directories for standard Unix  utili­
  85.           ties.
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                                    12 Dec 1988
  131.  
  132.  
  133.